﻿<html><head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">

<script type="text/javascript">

function ofc_ready(id)
{
   alert(id);
   setTimeout("load('"+id+"')",1000);	
}

function load(id)
{
	tmp = findSWF("ofc"+id);
	//x = tmp.load('');
	x = tmp.load('{"title":{"text":"hello"}, "x_axis":{"max":6},"elements":[{"type":"line","text":"moo","font-size":10,"values":[5,8,9,4,7,8]}]}');
}


function findSWF(movieName) {
  if (navigator.appName.indexOf("Microsoft")!= -1) {
    return window[movieName];
  } else {
    return document[movieName];
  }
}

</script>

</head>
<body>
    


<div id="my_chart" style="width:350px;height:300px"></div>
<script type="text/javascript" src="swfobject.js"></script>

    <script type="text/javascript">
        swfobject.embedSWF("open-flash-chart.swf", "ofc1", "550", "200", "9.0.0", "expressInstall.swf",{"id":"1"} );
    </script>

<div>boo</div>

</body>
</html>